package com.hliushi.adapter.example01;

/**
 * 电视机类TV
 *
 * @author: hliushi
 * @date: 2023/2/13 22:22
 **/
public class TV implements DualPin {

    @Override
    public void electrify(int fireWire, int neutralWire) {
        System.out.printf("火线通电: %s, 零线通电: %s\n", fireWire, neutralWire);
        System.out.println("电视开机");
    }
}
